package com.ztgf.user.models.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;

/**
 * 用户角色关系表VO
 *
 * @author zhanghualang
 * @Date 2020-05-28 17:48:24
 */
@Data
public class UserRoleRelationVO implements Serializable {
    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "权限id")
    private Long roleId;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "权限名称")
    private String roleName;
}
